home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / et / et3_0-a1.lha / et3 / src / MemBuf.h < prev    next >
C/C++ Source or Header  |  1992-05-27  |  327b  |  21 lines

  1. #ifndef MemBuf_First
  2. #ifdef __GNUG__
  3. //pragma once
  4. #pragma interface
  5. #endif
  6. #define MemBuf_First
  7.  
  8. #include "StreamBuf.h"
  9.  
  10. class MemBuf: public StreamBuf {
  11. public:
  12.     MemBuf(int size= BUFSIZE, char *p= 0, int count= 0, bool alloc= FALSE);
  13.     int overflow(int c);
  14.     void SwitchToRead();
  15.     long ContentsSize();
  16. };
  17.  
  18. #endif
  19.  
  20.  
  21.